/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jigdo.data.jigdo;

import java.util.*;

/**
 * Represents a parsed jigdo file.
 * @author John R Sohn
 */
public class JigdoFile {

    public JigdoFile()
    {
        Files = new ArrayList();
        Servers = new ArrayList<JigdoServerEntry>();
    }
    
    /**
     * Represents the parsed "Parts" section of the .jigdo file.
     */    
    public List<JigdoRemoteFileEntry> Files;
    
    /**
     * The version of the jigdo system used to create the template.
     */
    public String Version;
    
    /**
     * The name of the jigdo generator used to create the template.
     */
    public String Generator;
    
    /**
     * The name of the ISO Image.
     */
    public String Filename;
    
    /**
     * The filename of the corresponding .template file.
     */
    public String Template;
    
    /**
     * The md5 checksum of the .template file.
     */
    public String Template_MD5Sum;
    
    /**
     * Short info of the .jigdo job.
     */
    public String ShortInfo;
    
    /**
     * The long info of the .jigdo job
     */
    public String Info;
    
    /**
     * The "Servers" section of the .jigdo file.
     */
    public List<JigdoServerEntry> Servers;
}
